export const toggleUserInfo = (payload: any) => ({
    type: 'TOGGLE_USERINFO',
    payload,
});

export const toggleMessageNum = (payload: any) => ({
    type: 'TOOGLE_MESSAGE_NUM',
    payload,
});